class PopulateBasicConstraints < ActiveRecord::Migration
  def self.up
    Constraint.create(:key => 'ActionsPerCheck', :value => 2, :priority => 0)
    Constraint.create(:key => 'MonitorsPerHouse', :value => 5, :priority => 0)
    Constraint.create(:key => 'ChecksPerHousePerHour', :value => 4, :priority => 0)
  end

  def self.down
    Constraint.delete_all
  end
end
